-- GENERATED SPELL FOR [Drakkari Raider] --


function spell0_29982(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15496,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29982', 523, 1)
end

function Sorts_29982(pUnit, Event)
local choix_sorts_29982 = math.random(0, 0)
if choix_sorts_29982 == 0 then
pUnit:RegisterEvent('spell0_29982', 1, 1)
end
end

function mob29982_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29982', math.random(1500, 3000), 1)
end

function mob29982_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29982_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29982_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29982, 1, 'mob29982_Action')
RegisterUnitEvent(29982, 2, 'mob29982_Leave')
RegisterUnitEvent(29982, 3, 'mob29982_Kill')
RegisterUnitEvent(29982, 4, 'mob29982_Die')
